const fs = require('fs');
const {version = '0.0.0'} = require('./package.json');

fs.writeFileSync('./public/version.js', `(function () {
  window.VERSION = 'v${version}';
})();
`);
